package com.zr.d_c.model;

/**
 * 菜表实体
 * @author lsl
 */
public class Dish {

	private int did;
	private String dname;
	private int dnum;
	private int dprice;
	private String disdelete;//菜品是否被删除
	private String dcreatetime;
	private int sid;
	private String dtemp1;//菜品上传的图片
	public int getDid() {
		return did;
	}
	public void setDid(int did) {
		this.did = did;
	}
	public String getDname() {
		return dname;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
	public int getDnum() {
		return dnum;
	}
	public void setDnum(int dnum) {
		this.dnum = dnum;
	}
	public int getDprice() {
		return dprice;
	}
	public void setDprice(int dprice) {
		this.dprice = dprice;
	}
	public String getDisdelete() {
		return disdelete;
	}
	public void setDisdelete(String disdelete) {
		this.disdelete = disdelete;
	}
	public String getDcreatetime() {
		return dcreatetime;
	}
	public void setDcreatetime(String dcreatetime) {
		this.dcreatetime = dcreatetime;
	}
	public int getSid() {
		return sid;
	}
	public void setSid(int sid) {
		this.sid = sid;
	}
	public String getDtemp1() {
		return dtemp1;
	}
	public void setDtemp1(String dtemp1) {
		this.dtemp1 = dtemp1;
	}
	
	/**
	 * wzp 增添获取did,dname,dnum,dprice
	 * @param did
	 * @param dname
	 * @param dnum
	 * @param dprice
	 */
	public Dish(int did, String dname, int dnum, int dprice) {
		super();
		this.did = did;
		this.dname = dname;
		this.dnum = dnum;
		this.dprice = dprice;
	}
	
	/**
	 * wzp 增添获取dname,dnum,dprice,dcreatetime
	 * @param dname
	 * @param dnum
	 * @param dprice
	 * @param dcreatetime
	 */
	public Dish(String dname, int dnum, int dprice, String dcreatetime) {
		super();
		this.dname = dname;
		this.dnum = dnum;
		this.dprice = dprice;
		this.dcreatetime = dcreatetime;
	}
	
	/**
	 * wzp 空的构造方法
	 */
	public Dish() {
		super();
		// TODO Auto-generated constructor stub
	}
}
